<template>
    <div>
        我是详情三级路由{{ $route.query.price }}
        <ul>
            <li v-for="(route,index) in $route.matched" :key="index">
               {{route.meta.title}}
            </li>
        </ul>
    </div>
</template>

<script setup lang="ts">
import { useRoute } from 'vue-router';
const $route = useRoute();
console.log($route);
</script>
<style scoped></style>